<template>
    <div class="body-aside">
        <div class="aside-wrapper">
            <div class="side-box">
                <h4 class="side-box-header">
                    <span class="side-box-header-title">TA 关注的圈子</span>
                </h4>
                <p class="thin"></p>
                <div class="side-box-body">
                    <div v-for="i in 4" class="side-box-item" :key="i">
                        <a class="side-box-item-wrap" rel="noopener noreferrer">
                            <img class="side-box-item-img" src="/img/avatar3.jpg">
                            <span class="side-box-item-txt">人设拍卖{{ i }}</span>
                        </a>
                        <span class="side-box-item-time">1 小时前</span>
                    </div>
                </div>
                <div class="side-box-footer">
                    <a class="footer-btn">查看全部</a>
                </div>
            </div>
            <div class="side-box">
                <h4 class="side-box-header">
                    <span class="side-box-header-title">TA 关注的用户</span>
                </h4>
                <p class="thin"></p>
                <div class="side-box-body">
                    <div v-for="i in 4" class="side-box-item" :key="i">
                        <a class="side-box-item-wrap" rel="noopener noreferrer">
                            <img class="side-box-item-img round" src="/img/avatar4.jpg">
                            <span class="side-box-item-txt">烛原{{ i }}</span>
                        </a>
                        <div class="side-box-item-opt">
                            <span>已关注</span>
                        </div>
                    </div>
                </div>
                <div class="side-box-footer">
                    <a class="footer-btn">查看全部</a>
                </div>
            </div>
        </div>
    </div>
</template>


<style scoped>
.body-aside {
    position: relative;
    width: 300px;
}

.body-aside .aside-wrapper {
    width: 300px;
    position: fixed;
}

.side-box {
    border-radius: 6px;
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    background-color: #fff;
    margin-bottom: 12px;
}

.side-box .side-box-header {
    padding: 12px 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

h4 {
    margin: 0;
}

.thin {
    border-top: 1px solid #e9e9f0;
    background-color: #fff;
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
}

.side-box .side-box-body {
    padding: 4px 0;
}

.side-box .side-box-body .side-box-item,
.side-box .side-box-body .side-box-item .side-box-item-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.side-box .side-box-body .side-box-item {
    padding: 8px 16px;
}

.side-box .side-box-body .side-box-item .side-box-item-wrap {
    font-size: 14px;
    line-height: 24px;
    color: #252526;
}

.side-box .side-box-body .side-box-item,
.side-box .side-box-body .side-box-item .side-box-item-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

a {
    cursor: pointer;
    text-decoration: none;
    color: #366cd9;
}

.side-box .side-box-body .side-box-item .side-box-item-wrap .side-box-item-img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    margin-right: 12px;
}

.side-box .side-box-body .side-box-item .side-box-item-wrap .side-box-item-txt {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-box .side-box-body .side-box-item .side-box-item-time {
    margin-left: auto;
    font-size: 13px;
    line-height: 1.85;
    color: #a1a1a6;
}

.side-box .side-box-footer {
    padding: 12px 16px;
}

.side-box .side-box-footer .footer-btn {
    display: block;
    padding: 7px 0;
    text-align: center;
    border-radius: 6px;
    background-color: rgba(245, 245, 250, .6);
    color: #a1a1a6;
    font-size: 13px;
    line-height: 18px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.side-box .side-box-header .side-box-header-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #252526;
}

.side-box .side-box-footer .footer-btn:hover {
    background-color: rgba(161, 161, 166, .2);
}

.side-box .side-box-body .side-box-item .side-box-item-opt {
    margin-left: auto;
    font-size: 14px;
    line-height: 24px;
    cursor: pointer;
    color: #a1a1a6;
}
</style>